/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.htk.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.htk.entity.HtkNews;
import com.thinkgem.jeesite.modules.htk.dao.HtkNewsDao;

/**
 * 每日资讯信息Service
 * @author htk
 * @version 2018-04-26
 */
@Service
@Transactional(readOnly = true)
public class HtkNewsService extends CrudService<HtkNewsDao, HtkNews> {

	public HtkNews get(String id) {
		return super.get(id);
	}
	
	public List<HtkNews> findList(HtkNews htkNews) {
		return super.findList(htkNews);
	}
	
	public Page<HtkNews> findPage(Page<HtkNews> page, HtkNews htkNews) {
		return super.findPage(page, htkNews);
	}
	
	@Transactional(readOnly = false)
	public void save(HtkNews htkNews) {
		super.save(htkNews);
	}
	
	@Transactional(readOnly = false)
	public void delete(HtkNews htkNews) {
		super.delete(htkNews);
	}
	
}